package org.example.studentsystem_back.vo.rewardMangeVo.smallVo;

import lombok.Getter;
import lombok.Setter;
import org.example.studentsystem_back.domain.RP;

@Getter
@Setter
public class PageRewardItem extends RP {
    private String name;
    public void setDataByRP(RP rp){
        this.setId(rp.getId());
        this.setContent(rp.getContent());
        this.setTitle(rp.getTitle());
        this.setDate(rp.getDate());
        this.setReason(rp.getReason());
    }
}
